package com.ha.system.salary.domain;

import com.ha.common.annotation.Excel;
import com.ha.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 员工薪资对象 ha_employee_salary
 * 
 * @author admin
 * @date 2021-03-17
 */
public class HaEmployeeSalary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String name;

    /** 员工薪资 */
    @Excel(name = "员工薪资")
    private String salary;

    /** 员工职位 */
    @Excel(name = "员工职位")
    private String job;

    /** 员工电话 */
    @Excel(name = "员工电话")
    private String phone;

    /** 员工住址 */
    @Excel(name = "员工住址")
    private String address;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSalary(String salary) 
    {
        this.salary = salary;
    }

    public String getSalary() 
    {
        return salary;
    }
    public void setJob(String job) 
    {
        this.job = job;
    }

    public String getJob() 
    {
        return job;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("salary", getSalary())
            .append("job", getJob())
            .append("phone", getPhone())
            .append("address", getAddress())
            .toString();
    }
}
